package com.gigi.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("收藏夹实体")
@Data
public class FavoriteDO {

    private Long id;

    @NotBlank
    private String name;

    @NotNull
    private Long userId;

}
